package com.example.webexcel.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import org.springframework.context.annotation.Bean;

import java.util.Date;

@Data
public class Student {
    @ExcelProperty({"学生信息表","学生姓名"})
    private String stuId;
    @ExcelProperty({"学生信息表","学生姓名"})
    private String stuName;
    @ExcelProperty({"学生信息表","学生性别"})
    private String stuSex;
    @ExcelProperty({"学生信息表","学生出生日期"})
    @DateTimeFormat("yyyy-MM-dd")
    private Date birthday;
}
